<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<!-- <label for="id">说明文字</label> -->
	
	<form action="" method="post">
		<!-- 将<label>标签for属性指定为关联表单控件的id -->
		<label for="username">账号:</label>
		<input type="text" id="username" name="user"/><br />
		
		<!-- 说明与表单控件一起放入<label>…</label>标签内部。 -->
		<label>密码:
		<input type="password" name="passwd" id="" />
		</label>
	</form>
</body>
</html>